package com.chia.multienty.core.parameter.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 账号密码修改请求
 * </p>
 *
 * @author Multi Tenant Auto Generator
 * @since 2024-03-29
 */

@Data
@ApiModel(value = "PasswordUpdateParameter", description = "账号密码修改请求")
@Accessors(chain = true)
public class PasswordUpdateParameter {
    /**
     * 旧密码
     */
    @ApiModelProperty(value = "旧密码")
    @NotNull
    private String oldPassword;
    /**
     * 新密码
     */
    @ApiModelProperty(value = "新密码")
    @NotNull
    private String newPassword;
    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码")
    @NotNull
    private String code;
}
